import {createApp} from 'vue'
import App from './App.vue'
import {initRouter} from './router';
import {initStore} from "./store";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'

const app = createApp(App);

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
// 初始化路由
initRouter(app);
initStore(app);
app.mount('#app')
